<template>
  <div id="app">
    <nav-tbar v-if="isShow"></nav-tbar>
    <Serve v-if="isSer"></Serve>
    <router-view/>
  </div>
</template>
<script>
import NavTbar from "./components/NavTbar.vue"
import Serve from "./components/Serve.vue"
export default {
  components:{
    NavTbar,
    Serve

  },
  computed:{
      isShow(){
      return this.$route.meta.isNav
    },
          isSer(){
        return this.$route.meta.isSer
      }
  }
}
</script>
<style>
</style>
